package com.kalle.workflow.mapper;

import com.kalle.workflow.elements.Flow;

import java.util.List;
import java.util.Map;

public interface FlowMapper {

    Flow selectById(String id);

    void insert(Flow flow);

    List<Flow> list(Map<String, Object> conditionMap);

    void update(Flow flow);

}
